<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文件上传</title>
</head>
<body>
<form action="./upload01.do" method="post" enctype="multipart/form-data">
    用户名:<input type="text" name="username"/><br/>
    头像:<input type="file" name="photo"/><br/>
    <button type="submit">提交</button>
</form>
</body>
</html>